import _fetch from './request'
function interviewFilters(){
  return _fetch({
    url:'/interview/filters',
    
  })
}
// 获取面试题
function interviewQuestions(params){
  return _fetch({
    url:'/interview/questions',
    needToken:true,
    params
  })
}
// 提交面试答案
function questionsSubmit(data){
  return _fetch({
    url:'/questions/submit',
    method:'post',
    needToken:true,
    data
  })
}
// 获取题目
function questionsInfo(id){
  return _fetch({
    url:'/questions/' + id,
    needToken:true,
  })
}
export {interviewFilters,interviewQuestions,questionsSubmit,questionsInfo}